<template>
	<view class="review-box page-box">
		<view style="height: 148rpx;">
			<u-navbar bgColor="transparent" height="74">
				<view class="u-nav-slot-left flex-center" slot="left" @click="goBack">
					<image src="@/static/images/review/fanhui-nav.png"></image>
				</view>
				<view slot="center" class="u-nav-slot-center">
					优词典
				</view>
			</u-navbar>
		</view>
		<view class="content">
			<view class="search-box">
				<Search></Search>
			</view>
			

		</view>


	</view>
</template>

<script>
	import Search from '@/components/zy-search/zy-search.vue'
	export default {
		components: {
			Search
		},
		data() {
			return {
				range: [],
				list: [{
					name: '认词'
				}, {
					name: '听写'
				}, {
					name: '默写',
				}],
				current: 0
			};
		},
		methods: {
			goBack() {
				this.$common.goBack()
			},
			tabChange(val) {
				console.log(val);
				this.current = val;
			},
			maskClick(e) {
				console.log('maskClick事件:', e);
			}
		}
	}
</script>

<style lang="scss">
	@function px_2_vw($px) {
		@return #{$px * 100 / 1920}vw;
	}

	.page-box {
		background-color: #B5DCFF;
	}

	.u-nav-slot-left {
		width: px_2_vw(80);
		height: px_2_vw(80);
		background: linear-gradient(0deg, #0BBAFB 0%, #4285EC 100%);
		border-radius: 50%;

		image {
			width: px_2_vw(35);
			height: px_2_vw(43);
		}
	}

	.u-nav-slot-center {
		color: #2A61FC;
		font-size: px_2_vw(48);
	}

	.u-nav-slot-right {}

	.content {
		padding: 42rpx 54rpx;
	}



	.active {
		background-color: #2A61FC !important;
		color: #fff !important;
		border: 1rpx solid #2A61FC !important;
	}

	/deep/ .uni-date__x-input {
		height: px_2_vw(42) !important;
		line-height: px_2_vw(42) !important;
		padding: 0 !important;
	}

	/deep/ .uni-date-x {
		height: px_2_vw(47) !important;
		line-height: px_2_vw(47) !important;
		padding: 0 !important;
	}
	.search-box {
		width: 70%;
		height: px_2_vw(119) !important;
		margin: 20rpx auto;
		 
	}
</style>